import request from '@/utils/request'

/**
 * 新增品牌资质授权表
 * @param {Object} data 对象参数
 */
export function addGoodsBrandAuthorize(data) {
	return request({
		url: '/api/goodsBrandAuthorize/addGoodsBrandAuthorize',
		method: 'post',
		data: data
	})
}

/**
 * 修改品牌资质授权表
 * @param {Object} data 对象参数
 */
export function editGoodsBrandAuthorize(data) {
	return request({
		url: '/api/goodsBrandAuthorize/editGoodsBrandAuthorize',
		method: 'post',
		data: data
	})
}

/**
 * 删除品牌资质授权表
 * @param {Object} id 主键编号
 */
export function deletGoodsBrandAuthorize(id) {
	return request({
		url: '/api/goodsBrandAuthorize/deletGoodsBrandAuthorize/' + id,
		method: 'post',
	})
}

/**
 * 查询品牌资质授权表列表
 * @param {Object} param 查询对象
 */
export function findGoodsBrandAuthorizeList(param) {
	return request({
		url: '/api/goodsBrandAuthorize/findGoodsBrandAuthorizeList',
		method: 'get',
		param: param
	})
}

/**
 * 查询品牌资质授权表详情
 * @param {Object} id 主键编号
 */
export function findGoodsBrandAuthorizeDetail(id) {
	return request({
		url: '/api/goodsBrandAuthorize/findGoodsBrandAuthorizeDetail/' + id,
		method: 'get',
	})
}
